import SingleSelectDefaultJsonSchema from "./SingleSelect";
import SinglePicSelectDefaultJsonSchema from "./SinglePicSelect";
import TextNoteDefaultJsonSchema from "./TextNote";
import MultipleSelectDefaultJsonSchema from "./MultipleSelect";
import OptionSelectDefaultJsonSchema from "./OptionSelect";
import MultiplePicSelectDefaultJsonSchema from "./MultiplePicSelect";
import TextInputDefaultJsonSchema from "./TextInput";
import RateScoreDefaultJsonSchema from "./RateScore";
import DateSelectDefaultJsonSchema from "./DateSelect";

// + 记录 所有题型 的默认状态的映射关系
export const defaultJsonSchemaMap = {
  // * 基础组件的默认状态
  "single-select": SingleSelectDefaultJsonSchema,
  "single-pic-select": SinglePicSelectDefaultJsonSchema,
  "text-note": TextNoteDefaultJsonSchema,
  "multiple-select": MultipleSelectDefaultJsonSchema,
  "option-select": OptionSelectDefaultJsonSchema,
  "multiple-pic-select": MultiplePicSelectDefaultJsonSchema,
  "text-input": TextInputDefaultJsonSchema,
  "rate-score": RateScoreDefaultJsonSchema,
  "date-select": DateSelectDefaultJsonSchema,
  // * 预设组件的默认状态-个人信息
  'personal-info-name': TextInputDefaultJsonSchema,
  'personal-info-id': TextInputDefaultJsonSchema,
  'personal-info-birth': DateSelectDefaultJsonSchema,
  'personal-info-gender': SingleSelectDefaultJsonSchema,
  'personal-info-age': TextInputDefaultJsonSchema,
  'personal-info-education': OptionSelectDefaultJsonSchema,
  'personal-info-collage': TextInputDefaultJsonSchema,
  'personal-info-major': TextInputDefaultJsonSchema,
  'personal-info-industry': TextInputDefaultJsonSchema,
  'personal-info-career': SingleSelectDefaultJsonSchema,
  'personal-info-company': TextInputDefaultJsonSchema,
  'personal-info-position': TextInputDefaultJsonSchema,
  // * 预设组件的默认状态-联系方式
  'contact-way-phone': TextInputDefaultJsonSchema,
  'contact-way-wechat': TextInputDefaultJsonSchema,
  'contact-way-qq': TextInputDefaultJsonSchema,
  'contact-way-email': TextInputDefaultJsonSchema,
  'contact-way-address': TextInputDefaultJsonSchema,
};
